import javax.swing.*;
import java.awt.*;

/**
 * Created by ospip on 2018/10/10.
 * Copyright (c) 2018 LLAP. All rights reserved.
 */
public class ComboBox extends JComboBox<String> {
    public ComboBox() {
        super();
    }

    public ComboBox(Color bg) {
        super();
        this.setBackground(bg);
        this.setForeground(bg);
    }

    public void add(Object item) {
        super.addItem(item.toString());
    }
}
